<html>
<head><meta charset="utf-8"><title>429 errors · t-compiler/wg-rustc-dev-guide · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/196385-t-compiler/wg-rustc-dev-guide/index.html">t-compiler/wg-rustc-dev-guide</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/196385-t-compiler/wg-rustc-dev-guide/topic/429.20errors.html">429 errors</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="192853904"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/196385-t-compiler/wg-rustc-dev-guide/topic/429%20errors/near/192853904" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Paul Faria <a href="https://rust-lang.github.io/zulip_archive/stream/196385-t-compiler/wg-rustc-dev-guide/topic/429.20errors.html#192853904">(Apr 03 2020 at 19:35)</a>:</h4>
<p>When running <code>mdbook build</code>, I'm getting a LOT of errors like this:</p>
<div class="codehilite"><pre><span></span>error: The server responded with 429 Too Many Requests for &quot;https://github.com/rust-lang/rust/tree/master/src/tools/compiletest&quot;

   ┌── tests/intro.md:6:1 ───
   │
 6 │ [`src/tools/compiletest`] directory). This section gives a brief
   │ ^ Server responded with 429 Too Many Requests
</pre></div>


<p>Have you guys run into this, and is there a way to have the tests run a little more slowly so I'm not getting rate-limited?</p>



<a name="192856518"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/196385-t-compiler/wg-rustc-dev-guide/topic/429%20errors/near/192856518" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Chris Simpkins <a href="https://rust-lang.github.io/zulip_archive/stream/196385-t-compiler/wg-rustc-dev-guide/topic/429.20errors.html#192856518">(Apr 03 2020 at 19:58)</a>:</h4>
<p>I comment out the mdbook linkcheck config in my local <code>book.toml</code> file.  </p>
<p>This section:</p>
<div class="codehilite"><pre><span></span><span class="k">[output.linkcheck]</span>
<span class="n">follow-web-links</span> <span class="o">=</span> <span class="kc">true</span>
<span class="n">exclude</span> <span class="o">=</span> <span class="k">[ &quot;crates\\.io&quot;, &quot;gcc\\.godbolt\\.org&quot;, &quot;youtube\\.com&quot;, &quot;youtu\\.be&quot;, &quot;dl\\.acm\\.org&quot;, &quot;cs\\.bgu\\.ac\\.il&quot; ]</span>
<span class="n">cache-timeout</span> <span class="o">=</span> <span class="mi">172800</span>
<span class="n">warning-policy</span> <span class="o">=</span> <span class="s">&quot;error&quot;</span>
</pre></div>


<p>and I can build a local site to preview it.</p>



<a name="192863556"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/196385-t-compiler/wg-rustc-dev-guide/topic/429%20errors/near/192863556" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> mark-i-m <a href="https://rust-lang.github.io/zulip_archive/stream/196385-t-compiler/wg-rustc-dev-guide/topic/429.20errors.html#192863556">(Apr 03 2020 at 21:02)</a>:</h4>
<p>I tend to change this line to <code>false</code>:</p>
<div class="codehilite"><pre><span></span>follow-web-links = true
</pre></div>



<a name="192863599"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/196385-t-compiler/wg-rustc-dev-guide/topic/429%20errors/near/192863599" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> mark-i-m <a href="https://rust-lang.github.io/zulip_archive/stream/196385-t-compiler/wg-rustc-dev-guide/topic/429.20errors.html#192863599">(Apr 03 2020 at 21:02)</a>:</h4>
<p>Perhaps we should add a note about this in the README?</p>



<a name="192866088"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/196385-t-compiler/wg-rustc-dev-guide/topic/429%20errors/near/192866088" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Chris Simpkins <a href="https://rust-lang.github.io/zulip_archive/stream/196385-t-compiler/wg-rustc-dev-guide/topic/429.20errors.html#192866088">(Apr 03 2020 at 21:27)</a>:</h4>
<p>PR incoming...</p>



<a name="192868557"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/196385-t-compiler/wg-rustc-dev-guide/topic/429%20errors/near/192868557" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Chris Simpkins <a href="https://rust-lang.github.io/zulip_archive/stream/196385-t-compiler/wg-rustc-dev-guide/topic/429.20errors.html#192868557">(Apr 03 2020 at 21:55)</a>:</h4>
<p><a href="https://github.com/rust-lang/rustc-dev-guide/pull/661" title="https://github.com/rust-lang/rustc-dev-guide/pull/661">https://github.com/rust-lang/rustc-dev-guide/pull/661</a> adds documentation in the README</p>



<a name="192868726"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/196385-t-compiler/wg-rustc-dev-guide/topic/429%20errors/near/192868726" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Chris Simpkins <a href="https://rust-lang.github.io/zulip_archive/stream/196385-t-compiler/wg-rustc-dev-guide/topic/429.20errors.html#192868726">(Apr 03 2020 at 21:57)</a>:</h4>
<p>If you don't have <code>mdbook-linkcheck</code> installed, the switch to <code>follow-web-links = false</code> still leads to errors because it is not available to mdbook when config'd in the <code>book.toml</code> file.  I went with a default build approach that assumes no install of <code>mdbook-linkcheck</code> and no local execution of link validations so used commented out <code>[output.linkcheck]</code> field approach.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>